<m:message xmlns="http://www.w3.org/1999/xhtml"
	xmlns:m="http://jboss.com/products/seam/mail"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:s="http://jboss.com/products/seam/taglib" charset="UTF-8">

	<m:from name="KADRON" address="no_reply@kadron.com" />
	<m:to name="#{admin.firstname} #{admin.lastname}">#{admin.email}</m:to>
	<m:subject>Birthday REMAINDER!</m:subject>

	<m:body>
		<p>
			<h:outputText value="Dear #{admin.firstname}" />
		</p>
		<p>
			This is birthday remainder email content.<br />
		</p>
		<h:dataTable value="#{birthdayUsers}" var="e">
			<h:column>
				<f:facet name="header">
					<h:outputText value="#{messages.id_msg}" />
				</f:facet>
				<h:outputText value="#{e.id}" />
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="#{messages.k_name_msg}" />
				</f:facet>
				<h:outputText value="#{e.username}" />
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="#{messages.bidthday_msg}" />
				</f:facet>
				<h:outputText value="#{e.birthday}">
					<s:convertDateTime pattern="dd MMM yyyy" />
				</h:outputText>
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="#{messages.email_msg}" />
				</f:facet>
				<h:outputText value="#{e.email}" />
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="#{messages.name_msg}" />
				</f:facet>
				<h:outputText value="#{e.fullName}" />
			</h:column>
		</h:dataTable>
	</m:body>

</m:message>